package com.zyk.service;

import com.zyk.entity.Role;
import com.baomidou.mybatisplus.service.IService;
import com.zyk.vo.FinalResult;
import com.zyk.vo.RoleVo;

import java.util.List;

/**
 * <p>
 * 角色 服务类
 * </p>
 *
 * @author feifeimao
 * @since 2017-11-20
 */
public interface IRoleService extends IService<Role> {
    List<Role> selectRoleIdListByUserId(Long userId);

    FinalResult edit(Role role);

    FinalResult findResourceIdListByRoleId(Role role);

    List<RoleVo> findAll();
}
